using Castle.ActiveRecord;

namespace SGP.Model
{
    [ActiveRecord(Table = "tpp_tipo_patrimonio")]
    public partial class TipoPatrimonio :  ActiveRecordBase<TipoPatrimonio>
    {
        private int _tppIdPatrimonio;
        //private int _tppIdPatrimonio;

        [PrimaryKey(PrimaryKeyType.Identity, "tpp_id_patrimonio")]
        public virtual int TppIdPatrimonio { get { return this._tppIdPatrimonio; } }

        [BelongsTo]
        public virtual Patrimonio Patrimonio { get; set; }

        [Property("tpp_ds_tipo")]
        public virtual string TppDsTipo { get; set; }
    }
}